package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.StrategySecondaryComment;
import cn.wolfcode.trip.base.query.StrategySecondaryCommentQueryObject;
import java.util.List;

public interface StrategySecondaryCommentMapper {
    int deleteByPrimaryKey(Long id);

    int insert(StrategySecondaryComment record);

    StrategySecondaryComment selectByPrimaryKey(Long id);

    List<StrategySecondaryComment> selectAll();

    int updateByPrimaryKey(StrategySecondaryComment record);

    /**
     * 分页查询单个攻略一级评论下的所有二级评论
     * @param qo
     */
    List selectForList(StrategySecondaryCommentQueryObject qo);
}